private $mGoodTitles = [];
private $mMissingPages = []; // [ns][dbkey] => fake page_id
private $mMissingTitles = [];
- /** @var array [fake_page_id] => array( 'title' => $title, 'invalidreason' => $reason ) */
+ /** @var array [fake_page_id] => [ 'title' => $title, 'invalidreason' => $reason ] */
private $mInvalidTitles = [];
private $mMissingPageIDs = [];
private $mRedirectTitles = [];
// Prevent warnings from being reported on these parameters
$main = $this->getMain();
foreach ( $generator->extractRequestParams() as $paramName => $param ) {
- $main->getVal( $generator->encodeParamName( $paramName ) );
+ $main->markParamsUsed( $generator->encodeParamName( $paramName ) );
}
}
}
}
- /**
- * Do not use, does nothing, will be removed
- * @deprecated since 1.21
- */
- public function finishPageSetGeneration() {
- wfDeprecated( __METHOD__, '1.21' );
- }
-
/**
* This method populates internal variables with page information
* based on the given array of title strings.
$res = $db->select( 'page', $this->getPageTableFields(), $set,
__METHOD__ );
- // Hack: get the ns:titles stored in array(ns => array(titles)) format
+ // Hack: get the ns:titles stored in [ ns => [ titles ] ] format
$this->initFromQueryResult( $res, $linkBatch->data, true ); // process Titles
// Resolve any found redirects
// Get pageIDs data from the `page` table
$res = $db->select( 'page', $pageFlds, $set, __METHOD__ );
- // Hack: get the ns:titles stored in array(ns => array(titles)) format
+ // Hack: get the ns:titles stored in [ns => array(titles)] format
$this->initFromQueryResult( $res, $linkBatch->data, true );
}
}